<template>
  <div class="base-container">
    <div class="menu">
      <slot name="menu"/>
    </div>
    <div class="content">
      <slot name="content"/>
    </div>
  </div>
</template>

<script>
  export default {
    name: "Position"
  }
</script>

<style lang="scss" scoped>
  .base-container {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    padding: 16px;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
  }
  .content{
    width: 60%;
    height: 100%;
  }
  .menu{
    position: fixed;
    top: 50%;
    right: 48px;
    width: auto;
    height: auto;
    transform: translateY(-50%);
  }
</style>
